package cn.mineserv.video.videoordersystem.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import cn.mineserv.video.videoordersystem.model.FollowExample;
import cn.mineserv.video.videoordersystem.dao.FollowDao;
import cn.mineserv.video.videoordersystem.model.Follow;
@Service
public class FollowService extends ServiceImpl<FollowDao, Follow> {

    
    public long countByExample(FollowExample example) {
        return baseMapper.countByExample(example);
    }
    
    public int deleteByExample(FollowExample example) {
        return baseMapper.deleteByExample(example);
    }
    
    public List<Follow> selectByExample(FollowExample example) {
        return baseMapper.selectByExample(example);
    }
    
    public int updateByExampleSelective(Follow record,FollowExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    
    public int updateByExample(Follow record,FollowExample example) {
        return baseMapper.updateByExample(record,example);
    }
    
    public int updateBatch(List<Follow> list) {
        return baseMapper.updateBatch(list);
    }
    
    public int updateBatchSelective(List<Follow> list) {
        return baseMapper.updateBatchSelective(list);
    }
    
    public int batchInsert(List<Follow> list) {
        return baseMapper.batchInsert(list);
    }
    
    public int insertOrUpdate(Follow record) {
        return baseMapper.insertOrUpdate(record);
    }
    
    public int insertOrUpdateSelective(Follow record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}
